@charset "UTf-8";

$red:#ff1319;


$font-size:40px;
@function r($px){
    @return $px/$font-size * 1rem;
}

body{
    background-color: #eb403a;
}

#web{
    position: relative;
    width: 100%;
    height: 100%;
    background: url(../img/indexbg.jpg) no-repeat center;
    background-size: cover;
    padding-top: r(60px);
}


//中奖消息
.message-wrap{
    width: r(630px);
    height: r(60px);
    background: url(../img/icon.png) no-repeat 5% center;
    background-size: 6% 50%;
    background-color: #fff;
    -webkit-border-radius: r(8px);
    -moz-border-radius: r(8px);
    border-radius: r(8px);
    margin: 0 auto;
    overflow: hidden;
    .wrapper{
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
    }
    .slide{
        width: 100%;
        height: r(60px);
//      line-height: r(70px);
        text-align: center;
        font-size: r(28px);
        color: #666666;
        vertical-align: middle;
        padding-top:r(12px) ;
        span{
            color: #FFD202;
        }
    }
}


//用户填写信息
.info-wrap{
    position: absolute;
    left: 0;
    right: 0;
    top: r(620px);
    margin: 0 auto;
    z-index: 1;
    &>div{
        width: r(630px);
        height: r(80px);
        line-height: r(80px);
        margin: 0 auto r(40px);
    }
    //border-radius
    .border-radius{
        background-color: #fff;
        border: 1px solid #FFD202;
        -webkit-border-radius: r(40px);
        -moz-border-radius: r(40px);
        border-radius: r(40px);
        padding-left:r(35px);
        padding-right:r(35px);
        font-size: 0;
        input{
            width: 100%;
            height: 100%;
            font-size: r(32px);
            color: #333333;
        }
        input.active{
            color:$red; 
            &::-webkit-input-placeholder {
                color: $red;
            }
            &:-ms-input-placeholder { // IE10+
                color: $red;
            }
            &:-moz-placeholder { // Firefox4-18
                color: $red;
            }
            &::-moz-placeholder { // Firefox19+
                color: $red;
            }
        }
    }
    .info-username{
        width: r(300px);
        height: r(80px);
    }
    .sex-wrap{
        height: r(80px);
        line-height:r(80px);
        padding-right: r(4px);
        font-size: 0;
        .radio-wrap{
            display: inline-block;
            height: 100%;
            line-height: r(80px);
            font-size: 0;
            cursor: pointer;
            .radio-btn{
                display: inline-block;
                position: relative;
                width: r(40px);
                height: r(40px);
                vertical-align: middle;
                cursor: pointer;
            }
            input{
                position: relative;
                width: 100%;
                height: 100%;
                opacity: 0;
                z-index: 1;
            }
            .border{
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border: 1px solid #ffffff;
                -webkit-border-radius: 50%;
                -moz-border-radius: 50%;
                border-radius: 50%;
                transition: all 0.5s;
            }
            .check-text{
                font-size: r(32px);
                color: #fff;
                padding-left: r(20px);
                vertical-align: middle;
                cursor: pointer;                
            }
            input:checked+.border{
                border: none;
//              border-color: #FFD202;
                background: url(../img/checked-icon.png) no-repeat center;
                background-size: 100%;
//              background-color: #FFD202;
            }
        }
        .marginleft{
            margin-left:r(40px);
        }
    }
    .submint-btn{
        color: #ffffff;
        background-color: #ffd202;
        -webkit-border-radius: r(40px);
        -moz-border-radius: r(40px);
        border-radius: r(40px);
        font-size: r(36px);
        text-align: center;
        margin-top: r(60px);
        margin-bottom: 0;
    }
}


//提示弹窗
.alertview-wrap{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 99;
    .alert-view{
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin:auto;
        width: r(620px);
        height: r(230px);
        background-color:#ffffff ;
        -webkit-border-radius: r(8px); 
        -moz-border-radius: r(8px); 
        border-radius: r(8px);
        font-size: r(32px);
        text-align: center;
    }
    .text{
        height: r(130px);
        line-height: r(128px);
        border-bottom: 1px solid #dddddd;
        color: #999999;
    }
    .btn{
        height: r(100px);
        line-height: r(100px);
        color: #333333;
        cursor: pointer;
    }
}
